home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac Power 1997 December
/
MACPOWER-1997-12.ISO.7z
/
MACPOWER-1997-12.ISO
/
AMUG
/
PROGRAMMING
/
Raven 1.2 Examples.sit
/
Raven 1.2 Examples
/
Quill
/
Source
/
GroupBoxEditor.h
< prev
next >
Wrap
Text File
|
1996-12-01
|
2KB
|
75 lines
/*
* File: GroupBoxEditor.h
* Summary: A view that knows how to edit a TGroupBox.
* Written by: Jesse Jones
*
* Copyright ゥ 1996 Jesse Jones.
* For conditions of distribution and use, see copyright notice in ZTypes.h
*
* Change History (most recent first):
*
* <-> 12/01/96 JDJ Created
*/
#pragma once
#include <ZGroupBox.h>
#include "BasePaneEditor.h"
// ===================================================================================
// class CEditGroupBoxCommand
// ===================================================================================
class CEditGroupBoxCommand : public CBaseEditPaneCommand<TGroupBox, SGroupBoxInfo> {
typedef CBaseEditPaneCommand<TGroupBox, SGroupBoxInfo> Inherited;
//-----------------------------------
// Initialization/Destruction
//
public:
virtual ~CEditGroupBoxCommand();
CEditGroupBoxCommand(TGroupBox* pane, const SGroupBoxInfo& oldInfo, const SGroupBoxInfo& newInfo);
//-----------------------------------
// Inherited API
//
public:
virtual void UpdatePane(const SGroupBoxInfo& newInfo);
};
// ===================================================================================
// CGroupBoxEditor
// ===================================================================================
class CGroupBoxEditor : public CBasePaneEditor<TGroupBox, SGroupBoxInfo, CEditGroupBoxCommand> {
typedef CBasePaneEditor<TGroupBox, SGroupBoxInfo, CEditGroupBoxCommand> Inherited;
//-----------------------------------
// Initialization/Destruction
//
public:
virtual ~CGroupBoxEditor();
CGroupBoxEditor(TView* superView);
//-----------------------------------
// Inherited API
//
protected:
virtual SGroupBoxInfo GetEditorInfo() const;
virtual void SetEditorInfo(const SGroupBoxInfo& info);
//-----------------------------------
// TReanimator Support
//
public:
static MReanimatable* Create(MReanimatable* parent);
};